<template>
    <div>
        <div v-if="!editing">
            {{rowData[field]}}
        </div>
        <div v-else>
            <el-input v-model="rowData[field]" placeholder="请输入内容"></el-input>
        </div>
    </div>
</template>

<script>
    export default {
        name    : 'ui-tr-edit-input',
        props   : {
            editing : {},
            rowData : {},
            field : {}
        },
        data() {
            return {

            }
        },
        mounted(){

        },
        beforeDestroy(){

        },
        watch   : {

        },
        methods : {

        }
    }
</script>
